package com.microlecture.service;

import com.microlecture.entity.CookbookCollect;

import java.util.List;
import java.util.Map;

public interface CookbookCollectService {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(CookbookCollect record);

    CookbookCollect selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CookbookCollect record);

    List<CookbookCollect> selectByCondition(Integer userid, Integer cookbookid);

    Map<String, Object> selectByCondition(int page, int rows, Integer userid);

}